package com.spirngcloud.alibabasentinelratelimiting.controller;

import com.alibaba.csp.sentinel.annotation.SentinelResource;
import org.springframework.stereotype.Service;

/**
 * @version V1.0
 * @Author 宋聚智
 * @Date 2019/10/22 10:31
 * @description
 * @Modify By：
 * @ModifyTime： 2019/10/22
 * @Modify marker：
 **/
@Service
public class TestSentinelService {
    @SentinelResource("doSomeThing")
    public void doSomeThing(String str){
        System.out.println(str);
    }
}
